package cn.wx.org.domain;


import cn.wx.basic.domain.BaseDomain;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.util.Date;

@Data
public class Shop extends BaseDomain {

        //店铺名称
        private String name;
        //电话座机
        private String tel;
        //入驻时间
        @JsonFormat(pattern = "yyyy-MM-dd",timezone = "GMT+8")
        private Date registerTime = new Date();
        //店铺状态：待审核【1】 ，审核通过，待激活【2】，激活成功【3】，审核失败->驳回【4】
        private Integer state = 1;
        //店铺地址
        private String address;
        //店铺logo

        private String logo;
        //店铺管理员ID
        private Long admin_id;
        //关联对象 - 店铺管理员对象
        private Employee admin;

        //店长姓名
        private Employee shopManager = new Employee();

        private Employee employee;


}
